package com.aproj.service;

import java.util.List;

import com.aproj.dao.UserRoleDao;
import com.aproj.model.UserRole;

public class UserRoleLocalServiceUtil {

	private static UserRoleDao userRoleDao;

	public static UserRoleDao getUserRoleDao() {
		return userRoleDao;
	}

	public void setUserRoleDao(UserRoleServiceUtil userRoleDao) {
		UserRoleLocalServiceUtil.userRoleDao = userRoleDao.getUserRoleDao();
	}
	
	public static List<UserRole> getUserRoles(long userId){
		return userRoleDao.getUserRoles(userId);
	}
}
